﻿using UnityEngine;
using System.Collections;

public class FX_Animaion_Delay : MonoBehaviour {

	public float delay;

	// Use this for initialization
	IEnumerator Start () {
		animation.Play ();

		yield return null;

		animation.Stop ();

		yield return new WaitForSeconds(delay);

		animation.Play ();
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
